<template>
  <div class="brand">
    <div class="brand-title">品牌制造商</div>
    <ul class="brand-main">
      <li v-for="item in brandList" :key="item.id" class="brand-main-item">
        <img :src="item.list_pic_url" alt="" />
        <div>{{ item.name }}</div>
        <p>{{ item.floor_price | moneyFilters }}</p>
      </li>
    </ul>
  </div>
</template>
 
<script>
export default {
  name: "",
  props: ["brandList"],
};
</script>
 
<style lang="less" scoped>
.brand {
  background: #fff;
  .brand-title {
    height: 0.4rem;
    line-height: 0.4rem;
    text-align: center;
  }
  .brand-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .brand-main-item {
      position: relative;
      width: 49%;
      padding-bottom: 0.09rem;
      img {
        width: 100%;
        display: block;
      }
      div {
        position: absolute;
        top: 0.05rem;
        left: 0.05rem;
      }
      p {
        position: absolute;
        top: 0.3rem;
        left: 0.07rem;
        color: red;
        font-size: 0.14rem;
      }
    }
  }
}
</style>